package com.dgh.school.service;

import com.dgh.school.bean.Meeting;
import com.dgh.school.common.R;

import java.util.Date;
import java.util.List;

//会议业务层
public interface MeetingService {

    //查看所有会议
    List<Meeting> selectAll() throws Exception;

    //查看某领导所有会议
    List<Meeting> selectById(int lid) throws Exception;

    //添加会议
    void addMeeting(Meeting m) throws Exception;

    //修改会议,根据会议室号和领导编号修改
    void updateMeeting(Meeting m) throws Exception;

    //删除会议，根据会议室号删除
    void deleteMeeting(int mid) throws Exception;

    R selectByPage(int pageNum, int pageSize) throws Exception;

}
